package com.victor.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.victor.dao.CollectionDao;
import com.victor.entity.collection.Collections;
import com.victor.service.CollectionService;
@Service
public class CollectionServiceImpl implements CollectionService {
	@Autowired
	private CollectionDao dao;

	@Override
	public Collections selCollections(Collections collections) {
		return dao.selCollection(collections);
	}

	@Override
	public boolean insertCollection(Collections collections) {
		return dao.insertCollection(collections);
	}

	@Override
	public boolean delCollection(Integer id) {
		return dao.delCollection(id);
	}

}
